// 重置样式
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

@font-face {
  font-family: 'formFont';
  src: url('./font/FRAHV.TTF') format('truetype');
  font-display: swap;
  // font-display: optional;
}

@font-face {
  font-family: 'bannerFont';
  src: url('./font/SWIS721 BLK BT BLACK.TTF') format('truetype');
  font-display: swap;
  // font-display: optional;
}

@font-face {
  font-family: 'banner1Font';
  src: url('./font/arialbd(1).ttf') format('truetype');
  font-display: swap;
  // font-display: optional;
}

@font-face {
  font-family: 'banner2Font';
  src: url('./font/ariblk(1).ttf') format('truetype');
  font-display: swap;
  // font-display: optional;
}

@font-face {
  font-family: 'NotoSans-ExtraCondensed';
  src: url('./font/NotoSans_Condensed-Regular.ttf') format('truetype');
  font-display: swap;
  // font-display: optional;
}

@font-face {
  font-family: 'NotoSans_Condensed-SemiBold';
  src: url('./font/NotoSans_Condensed-Bold.ttf') format('truetype');
  font-display: swap;
  // font-display: optional;
}

// 字体
h1 {
  font-size: 28px;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 20px;
}
h4 {
  font-size: 18px;
  font: 1em/1.4 'NotoSans_Condensed-SemiBold', 'sans-serif', 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI','Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif;
  letter-spacing: 0; /* 减少字间距 */
}
h5 {
  font-size: 16px;
}
p {
  // font-size: 17px;
  font-size: 15px;
}
span {
  // font-size: 16px;
  font-size: 15px;
}
html {
  height: 100%;
  font-size: 16px;
  line-height: 1.4;
}
body {
  height: 100%;
  // color: #333;
  color: #111;
  // min-width: 1240px;
  max-width: 100%;
  overflow-x:hidden;
  letter-spacing: .5px; /* 减少字间距 */
  font: 1em/1.4 'NotoSans-ExtraCondensed', 'sans-serif', 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI','Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif!important;
  // font-family: "Google Sans", sans-serif;
  font-display: swap;
}
body,
ul,
h1,
h3,
h4,
p,
dl,
dd {
  padding: 0;
  margin: 0;
}

body,
ul,
h1,
h2,
h3,
h4,
a,
p,
div,
span,
i,
dl,
dd {
  -webkit-user-select:text;
}

a {
  text-decoration: none;
  // color: #333;
  color: #111;
  outline: none;
  font-size: 16px;
}
i {
  font-style: normal;
}
input[type='text'],
input[type='search'],
input[type='password'],
input[type='checkbox'] {
  padding: 0;
  outline: none;
  border: none;
  -webkit-appearance: none;
  &::placeholder {
    color: #ccc;
  }
}
img {
  max-width: 100%;
  max-height: 100%;
  vertical-align: middle;
  // background: #ebebeb url('@/assets/images/200.png') no-repeat center / contain;
}
ul {
  list-style: none;
}

#app {
  background: #f5f5f5;
  user-select: none;
}
// 版心
.container {
  // max-width: 1240px;
  margin: 0 auto;
  position: relative;
}
/* 版心 */
.wrapper {
  margin: 0 auto;
  max-width: 1112px;
}

.wrapper-2 {
  position: relative;
  margin: 0 auto;
  max-width: 1240px;
}

// 内容样式
.content-box {
  padding: 0 20px;
  width: 100%;
}

.ellipsis {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.ellipsis-2 {
  word-break: break-all;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.clearfix:after {
  content: '.';
  display: block;
  visibility: hidden;
  height: 0;
  line-height: 0;
  clear: both;
}

// reset element
.el-breadcrumb__inner.is-link {
  font-weight: 400 !important;
}

@media (max-width: 576px) {
  .container-sm, .container {
    max-width: 540px;
    // max-width: 100vw;
  }
}
@media (max-width: 768px) {
  body {
    letter-spacing: 0;
  }
  .container-md, .container-sm, .container {
    max-width: 720px;
  }
  h1 {
    font-size: 22px;
  }
  h2 {
    font-size: 22px;
  }
  h3 {
    font-size: 20px;
  }
  h4 {
    font-size: 18px;
  }
  h5 {
    font-size: 15px;
  }
  p {
    // font-size: 15px;
    // font-size: clamp(8px, 1.5vw, 16px);
  }
  span {
    // font-size: 15px;
    // font-size: clamp(8px, 1.5vw, 16px);
  }
  html {
    height: 100%;
    font-size: 15px;
  }
}
@media (max-width: 992px) {
  .container-lg, .container-md, .container-sm, .container {
    max-width: 960px;
  }
}
@media (max-width: 1400px) {
  .container-xl, .container-lg, .container-md, .container-sm, .container {
    // max-width: 1140px;
    max-width: 1240px;
  }
}
@media (min-width: 1401px) {
  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1320px;
  }
}